$(function(){
	DWZ.init("dwz.frag.xml", {
		loginUrl:"login_dialog.html", loginTitle:"登录",	// 弹出登录对话框
		statusCode:{ok:200, error:300, timeout:301}, //【可选】
		pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"}, //【可选】
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:docBase+"/resource/dwz/themes"});
			window.setTimeout(function(){
				$('li>a:first','#navMenu').trigger('click');
			},100);
			$('li>a','#navMenu').click(function(){
					$('h2','#sidebar').text($(this).text());
			});
		}
	});
});